#include "CPagination.h"

CPagination::CPagination()
{
    setPagination(false);
    setLocation(CPagination::bottom);
    setAlignment(CPagination::center);
    setFirstPageNumbered(true);
    setStartPage(1);
}
bool CPagination::isPagination()
{
    return this->pagination;
}

void CPagination::setPagination(bool p)
{
    this->pagination = p;
}

CPagination::Location CPagination::getLocation()
{
    return this->location;
}

void CPagination::setLocation(Location l)
{
    this->location = l;
}

CPagination::Alignment CPagination::getAlignment()
{
    return this->alignment;
}

void CPagination::setAlignment(Alignment a)
{
    this->alignment = a;
}

bool CPagination::getFirstPageNumbered()
{
    return this->firstPageNumbered;
}

void CPagination::setFirstPageNumbered(bool f)
{
    this->firstPageNumbered = f;
}

int CPagination::getStartPage()
{
    return this->startPage;
}

void CPagination::setStartPage(int s)
{
    this->startPage = s;
}
